{% extends "base.html" %}
{% block title %}登录界面{% endblock %}
{% block content-core %}
    <div style="margin: 15% 40%;">
        <h1>欢迎登录！</h1>
        <form action="/login/user_login/" method="post">
            {% csrf_token %}
            <p>
                <label for="id_username">用户名：</label>
                <input type="text" id="id_username" name="username" placeholder="用户名" required />
            </p>

            <p>
                <label for="id_password">密码：</label>
                <input type="password" id="id_password" placeholder="密码" name="password" required >
            </p>
            <input type="submit" value="确定">
        </form>
    </div>
{% endblock %}

